package com.cclub.exam.controller;

import com.alibaba.dubbo.config.annotation.Reference;
import com.cclub.inteface.service.provider;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@RestController
public class comsumeController {

    @Reference(version = "1.0.0")
    private provider provider;


    @RequestMapping("/ins")
    public String ins(){
        return provider.ins();
    }

    @RequestMapping("/del")
    public String del(){
        return provider.del();
    }

    @RequestMapping("/sel")
    public String sel(){
        return provider.sel();
    }

    @RequestMapping("/upd")
    public String upd(){
        return provider.upd();
    }
}
